/*通过指针变量访问整型变量*/
#include <stdio.h>
int main()
{
    int a = 100 , b = 10;
    int *p1 = a , *p2 = b;                                  /*定义整型指针变量p1,p2*/
    p1 = &a , p2 = &b;                                      /*将变量a,b的地址存储在p1,p2中*/
    printf ("a = %d , b = %d",a , b);
    printf ("*p1 = %d,*p2 = p2",*p1 , *p2);

    return 0;
}